using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace Pixysoft.Weblications.Sango.Battle
{

    class BattleTeamHistory
    {
        long tacticalCode = -1;
        string code;
        string name;
        long level;
        long totalHp = 0;
        long leftHp = 0;

        List<BattlerHistory> list = new List<BattlerHistory>();

        public BattleTeamHistory()
        {
        }

        public BattleTeamHistory(string code, long tacticalCode, string name, long level)
        {
            this.code = code;
            this.tacticalCode = tacticalCode;
            this.name = name;
            this.level = level;
        }

        [XmlAttribute("tacticalcode")]
        public long TacticalCode
        {
            get { return tacticalCode; }
            set { tacticalCode = value; }
        }
        [XmlAttribute("code")]
        public string Code
        {
            get { return code; }
            set { code = value; }
        }
        [XmlAttribute("name")]
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        [XmlAttribute("level")]
        public long Level
        {
            get { return level; }
            set { level = value; }
        }
        [XmlAttribute("totalhp")]
        public long TotalHp
        {
            get { return totalHp; }
            set { totalHp = value; }
        }
        [XmlAttribute("lefthp")]
        public long LeftHp
        {
            get { return leftHp; }
            set { leftHp = value; }
        }
        public List<BattlerHistory> List
        {
            get { return list; }
            set { list = value; }
        }
    }
}